package com.ymttest.database.sharding.db.sharding.mapper;

import com.ymttest.database.sharding.db.sharding.model.OrderDetailExtExample;
import com.ymttest.database.sharding.db.sharding.model.OrderDetailExtPo;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OrderDetailExtMapper {
    int countByExample(OrderDetailExtExample example);

    int deleteByExample(OrderDetailExtExample example);

    int deleteByPrimaryKey(Long orderDetailId);

    int insert(OrderDetailExtPo record);

    int insertSelective(OrderDetailExtPo record);

    List<OrderDetailExtPo> selectByExample(OrderDetailExtExample example);

    OrderDetailExtPo selectByPrimaryKey(Long orderDetailId);

    int updateByExampleSelective(@Param("record") OrderDetailExtPo record, @Param("example") OrderDetailExtExample example);

    int updateByExample(@Param("record") OrderDetailExtPo record, @Param("example") OrderDetailExtExample example);

    int updateByPrimaryKeySelective(OrderDetailExtPo record);

    int updateByPrimaryKey(OrderDetailExtPo record);
}